A Role-Based Metamodeling Approach to Specifying Design Patterns
نویسندگان
چکیده
Design patterns describe solutions to recurring design problems in the development of software designs. To encourage the use of design patterns, we are investigating tool support for incorporating patterns into UML models. The development of such tools requires patterns to be specified at the metamodel level. Patterns may be specified using roles, where a role is played by model elements. However, the notion of role in the object-oriented community is strictly based on objects, and does not allow the use of the word “role” in any other place where the context is not object-based. In this paper, we propose a notion of role that can be used to specify design patterns at the metamodel level. We survey the characteristics of object-based roles and generalize them. Based on the generalized notion of a role we define a new notion of a model role which is played by a model element. We illustrate the use of model roles with a specification of a variant of the Observer design pattern.
منابع مشابه
The Role-Based Metamodeling Language for Specifying Design Patterns
This chapter describes a UML-based pattern specification language called the role-based metamodeling language (RBML), which defines the solution domain of design patterns in terms of roles at the metamodel level. The goal of the RBML is to support the development of precise pattern specifications that can be used for the development of pattern tools. The author describes the approaches and bene...
متن کاملA UML-based language for specifying domain-specific patterns
Cost-effective development of large computer-based systems can be realized through systematic reuse of domain-specific design experience. Such experience can be captured by domain-specific design patterns, that is, patterns specifying design solutions for well-defined families of applications. This paper presents a pattern specification notation called the RoleBased Metamodeling Language (RBML)...
متن کاملCOLORADO STATE UNIVERSITY June 21, 2004 WE HEREBY RECOMMEND THAT THE DISSERTATION PREPARED UNDER OUR SUPERVISION BY DAE-KYOO KIM ENTITLED A META- MODELING APPROACH TO SPECIFYING PATTERNS BE ACCEPTED AS FULFILLING IN PART REQUIREMENTS FOR THE DEGREE OF DOCTOR
OF DISSERTATION A META-MODELING APPROACH TO SPECIFYING PATTERNS A major goal in software development is to produce quality products in less time and with less cost. Systematic reuse of software artifacts that encapsulate high-quality development experience can help one achieve the goal. Design patterns are a common form of reusable design experience that can help developers reduce development t...
متن کاملA UML-Based Metamodeling Language to Specify Design Patterns
A design pattern describes a generic solution for problems that occur repeatedly. Current descriptions of design patterns describe solutions with graphical notation and complementing text. To encourage the use of design patterns, the development of pattern supporting tools is imperative. This requires design patterns to be specified precisely. There has been considerable work done on pattern sp...
متن کاملA Metamodeling Approach to Pattern Specification and Detection
This report presents the Pattern Modeling Framework (PMF), a new metamodeling approach to pattern specification and detection for MOFcompliant modeling frameworks and languages. Patterns need to be precisely specified before a tool can manipulate them, and though several approaches to pattern specification have been proposed, they do not provide the scalability and flexibility required in pract...
متن کامل